projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4bd69
)
docs: Add gtk_widget_grab_default to migration guide
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 27 Jan 2021 18:50:05 +0000
(13:50 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 27 Jan 2021 18:50:05 +0000
(13:50 -0500)
Point out the replacement for this api.
docs/reference/gtk/migrating-3to4.md
patch
|
blob
|
history
diff --git
a/docs/reference/gtk/migrating-3to4.md
b/docs/reference/gtk/migrating-3to4.md
index 3d2fa1638bfc95ce18ccfb606dd2648a98a7780a..597e77c78ec5832f1a01fb8a7b1195ca5d5b74f2 100644
(file)
--- a/
docs/reference/gtk/migrating-3to4.md
+++ b/
docs/reference/gtk/migrating-3to4.md
@@
-1079,6
+1079,11
@@
that wants to override the default handling, you can provide an
implementation of the default.activate action in your widgets' action
groups.
+### Stop using gtk_widget_grab_default()
+
+The function gtk_widget_grab_default() has been removed. If you need
+to mark a widget as default, use gtk_window_set_default_widget() directly.
+
### Stop setting ::has-default and ::has-focus in .ui files
The special handling for the ::has-default and ::has-focus properties